home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Apr 89 / T0040-255 chars in TStati-Apr89 < prev    next >
Encoding:
Text File  |  1989-04-26  |  1.4 KB  |  39 lines  |  [TEXT/GEOL]

  1. Item    1804046                         25-April-89        19:16
  2.  
  3. From:   D0420                           Satori SW, Hugh Rogovy, PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    255 chars in TStaticText????
  8.  
  9. Hi,
  10.  
  11. I haven't seen a copy of 2.0b9 yet, so could someone who has seen it tell me if
  12. TStaticText has been "enhanced" to allow for more than 255 characters.  It
  13. would be really nice to have TEditText views in a TDialogView that can contain
  14. more than 255 characters.
  15.  
  16. TStaticText.fDataHandle is ready for 32k worth of text, but the
  17. GetText/SetText/etc.  methods were implemented using STRINGHANDLE rather than
  18. HANDLE.  Even the draw methods for TStaticText are capable of drawing 32k
  19. characters (using TEXTBOX & TEUPDATE)...why is there a 255 character limit???
  20.  
  21. If 2.0b9 hasn't taken care of the problem, I'll guess I'll be forced to create
  22. a subclass that can deal with it.  It seems silly to add extra code to my app
  23. just to take care of an overlooked limitation.
  24.  
  25. If there is a "good" reason for limiting TStaticText or it has been changed in
  26. 2.0b9, I would appreciate knowing so I don't waste my time trying to
  27. unsuccessfully reimplement the "limiting" methods (although I'll probably be
  28. done before this link gets a reply).
  29.  
  30.  
  31.  
  32.                                     Thanks in advance,
  33.  
  34.  
  35.                                     Chris Le Croy
  36.                                     Satori Software
  37.  
  38.  
  39.